import React, { PureComponent } from 'react';
import {getDocument} from '@/services/setting'
import { Card } from 'antd';
class Index extends PureComponent<any,any> {
    constructor(props:any){
        super(props)
        this.state={
            content:''
        }
    }
    componentDidMount() {
        getDocument('system_setup_list','').then(res=>{
            this.setState({
                content:res.content
            })
        })
    }
    
    render() {
        const {content} = this.state;
        return (
           <Card>
                <div dangerouslySetInnerHTML={{__html:content}}>
                
                </div>
           </Card>
        );
    }
}

export default Index;
